SUBROUTINE DEFINITIONLIST1
     * Display a definition list containing 3 items

     * Include the RealWeb definitions
     INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP

     * Start the HTML page.
     *   Display the text 'Subroutines for Definition Lists' in the browser's title bar.
     CALL RW_START_HTML_PAGE("Subroutines for Definition Lists", "", "", "", "")

     * Insert a paragraph
     CALL RW_START_PARA("", "")
 
     * Start the definition list
     CALL RW_START_DLIST("")
     * Display 3 items in the list
     CALL RW_DLIST_ITEM("RW_START_LIST", "Starts a definition list", "")
     CALL RW_DLIST_ITEM("RW_DLIST_ITEM", "Adds a new term and its definition to the list", "")
     CALL RW_DLIST_ITEM("RW_END_DLIST", "Ends a definition list", "")
     * Complete the definition list
     CALL RW_END_DLIST

     CALL RW_END_PARA

     * Complete the page.
     CALL RW_END_PAGE
RETURN

Go to top button